// 通过mockjs模块实现模拟数据
import Mock from 'mockjs';

// 引入模拟数据
import banner from './banner.json';
import floor from './floor.json';

// 通过Mock对象模拟出虚拟数据
Mock.mock("/mock/banner",{code:200,data:banner});
Mock.mock('/mock/floor',{code:200,data:floor});